function main() {
    //程序入口
    require(["pluginAttach", "knockout"], function (pluginAttach, ko) {
        var imgList = [
            "img/img1.png",
            "img/img2.png",
            "img/img3.png",
            "img/img4.png",
            "img/default.png",
        ];
        var vm = {
            img: ko.observable("img/img0.png"),
            imgList: imgList,
            imgList2: ko.observableArray(imgList),
        };
        window.vm = vm;
        ko.applyBindings(vm, document.getElementById("root"));
    });
}
require(["../scripts/require.config"], main);
